<template>
    <div class="previous">
        <button @click="goPervious">返回上一页</button>
    </div>
</template>

<script>
    export default {
        name: "goPreviousPage",
        methods:{
            goPervious(){
                this.$router.go(-1);
            }
        }
    }
</script>

<style scoped>
   button{
       width: 100px;
       height: 40px;
       background: rgba(0,133,208,1);
       color: white;
       border:1px solid #0085d0;
       border-radius: 2px;
   }
</style>